//数据统计-货柜入驻列表-配置文件
App.util.ns('Admin.Experience.Enter');
Admin.Experience.Enter.Conf = {
    columns: [
        {name: '标题', value: 'title'},
        {name: '网页链接', width: '350px', value: 'web_url'},
        {name: '入驻时间', width: '100px', value: function(item){
            return App.util.formator.date(item.enter_time);
        }},
        {name: '创建日期', width: '80px', value: function(item){
            return App.util.formator.date(item.created_at);
        }}
    ],
    form: [
        {type: 'hidden', name: 'id'},
        {type: 'img', name: 'enter_img', title: '入驻图片', rule: {
            type: 'str',
            range: [0, 100]
        }},
        {type: 'input', name: 'title', title: '标题', rule: {
            type: 'str',
            range: [0, 100]
        }},
        {type: 'input', name: 'web_url', title: '网页链接', rule: {
            type: 'str'
        }},
        {type: 'date', name: 'enter_time', title: '入驻时间', required: true},
        {type: 'textarea', name: 'enter_info', title: '简介',maxLength: 100, rule: {
            type: 'str',
            range: [0, 100]
        }}
    ]
};